package OoDay02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zs=new Student("张三",23,"广东","jsd2405","001");
        zs.sayHi();
        Teacher ls=new Teacher("李四",25,"山东",3000);
        ls.sayHi();
        Doctor ww=new Doctor("",40,"湖南","主任医师");
        ww.sayHi();
    }
}
